/** 平台 win mac android ios */
export enum Platform {
  win = 'Windows',
  mac = 'Mac',
  android = 'Android',
  ios = 'iOS'
}
export const PlatformObj: ValueEnumMap<string> = new Map([
  [
    Platform.win,
    {
      text: 'Windows',
      color: 'green'
    }
  ],
  [
    Platform.mac,
    {
      text: 'Mac',
      color: 'blue'
    }
  ],
  [
    Platform.android,
    {
      text: 'Android',
      color: 'orange'
    }
  ],
  [
    Platform.ios,
    {
      text: 'iOS',
      color: 'purple'
    }
  ]
]);
